package com.alibaba.dubbo.demo.provider;

import java.util.List;

import com.alibaba.dubbo.demo.PmsBilInfoInterface;
import com.alibaba.dubbo.demo.bean.PmsBilInfo;
import com.alibaba.dubbo.demo.bean.PageBean;
import com.alibaba.dubbo.demo.provider.dao.impl.PmsBilInfoDaoImpl;

public class PmsBilInfoServiceImpl implements PmsBilInfoInterface {

	PmsBilInfoDaoImpl pmsBilInfoDao;
	public PmsBilInfoDaoImpl getPmsBilInfoDao() {
		return pmsBilInfoDao;
	}

	public void setPmsBilInfoDao(PmsBilInfoDaoImpl pmsBilInfoDao) {
		this.pmsBilInfoDao = pmsBilInfoDao;
	}

	@Override
	public boolean savePmsBilInfo(PmsBilInfo item) {
		// TODO Auto-generated method stub
		return pmsBilInfoDao.savePmsBilInfo(item);
	}

	@Override
	public boolean updatePmsBilInfo(PmsBilInfo item) {
		// TODO Auto-generated method stub
		return pmsBilInfoDao.updatePmsBilInfo(item);
	}

	@Override
	public boolean deletePmsBilInfo(PmsBilInfo item) {
		// TODO Auto-generated method stub
		return pmsBilInfoDao.deletePmsBilInfo(item);
	}

	@Override
	public boolean setPmsBilInfoValid(long id, int valid) {
		// TODO Auto-generated method stub
		return pmsBilInfoDao.setPmsBilInfoValid(id, valid);
	}

	@Override
	public PageBean queryAllPmsBilInfo(PageBean pageBean, PmsBilInfo item) {
		// TODO Auto-generated method stub
		return pmsBilInfoDao.queryAllPmsBilInfo(pageBean, item);
	}

	@Override
	public List<PmsBilInfo> queryAllPmsBilInfoList(PmsBilInfo item) {
		// TODO Auto-generated method stub
		return pmsBilInfoDao.queryAllPmsBilInfoList(item);
	}

	@Override
	public PmsBilInfo queryOnePmsBilInfo(long id) {
		// TODO Auto-generated method stub
		return pmsBilInfoDao.queryOnePmsBilInfo(id);
	}
}
